﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    public class Opinions
    {
        #region Fields
        private int id;
        private string source;
        private int userId;
        private string context;
        private System.DateTime createTime;
        private string userName;
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        #endregion

        #region Public Properties
        ///<summary>
        ///
        ///</summary>
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        ///<summary>
        ///前缀+ID
        ///</summary>
        public string Source
        {
            get { return source; }
            set { source = value; }
        }
        ///<summary>
        ///用户ID
        ///</summary>
        public int UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        ///<summary>
        ///审批内容
        ///</summary>
        public string Context
        {
            get { return context; }
            set { context = value; }
        }
        ///<summary>
        ///
        ///</summary>
        public System.DateTime CreateTime
        {
            get { return createTime; }
            set { createTime = value; }
        }
        #endregion
    }
}
